<template>
  <div></div>
</template>

<script>
import { mapGetters } from 'vuex'
export default {
  computed: {
    ...mapGetters(['deptId'])
  },
  created () {
    switch (this.deptId) {
      case 201:
        this.$router.push('/mobile/shopkeeper')
        return
      case 202:
        this.$router.push('/mobile/director')
        return
      case 203:
      case 213:
        this.$router.push('/mobile/keeper')
        return
      case 204:
        this.$router.push('/mobile/reception')
        return
      case 205:
      case 206:
      case 207:
      case 208:
        this.$router.push('/mobile/operator')
        return
    }
  }
}
</script>

<style lang="scss" scoped></style>
